Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] implement scale_system for simplified-SDC #1241

Closed
wants to merge 32 commits into from

Conversation

zingale
Copy link
Member

@zingale zingale commented Jun 29, 2023

in addition to scaling energy, we now also need to scale density, since we are integrating (rho X, rho e)

@zingale zingale changed the base branch from main to development June 29, 2023 15:03
@zingale
Copy link
Member Author

zingale commented Jun 29, 2023

one issue I need to be careful with is that for the Jacobian, when we do: d(rho omegadot)/(d rho X) we are actually expressing this as domegadot/dX, so there is no density scaling. But for the integrator, we are scaling by the initial density, rho_0, so perhaps we need to correct these terms with a (rho / rho_0) factor?

basically, once we convert back from the integrator type to the burn_t,
we should not have to use the integrator type any more.  This will
make it easier to merge these code paths in the future.
we come in with a valid e
this syncs us up with VODE
@zingale
Copy link
Member Author

zingale commented Jul 3, 2023

closing in favor of the simpler #1253

@zingale zingale closed this Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant